// index.ts
// 获取应用实例
const app = getApp<IAppOption>();

Page({
  data: {
    text: "Hey! judy",
    imgList: [],
    catitems:[],
    floordata:[]
  },
  async onLoad() {
    const { message: imgList } = await wx.http.get("/home/swiperdata");
    const {message:catitems}=await wx.http.get('/home/catitems')
    const {message:floordata}=await wx.http.get('/home/floordata')
    this.setData({
      imgList,
      catitems,
      floordata
    });
  },
});
